package cn.com.jinhao.provider.business.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import tk.mybatis.mapper.annotation.KeySql;
import tk.mybatis.mapper.code.ORDER;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "st$acth")
@Data
@ToString
@ApiModel(value = "Enclosure",description = "附件表")
public class Enclosure {

    /**
     * id
     */
    @Column(name = "id")
    @ApiModelProperty(value = "id")
    @Id
    @KeySql(sql = "select SYS_GUID() from dual", order = ORDER.BEFORE)
    private String id;
    /**
     * 附件
     */

    private String atch;

}
